<script setup>
defineProps({
  name: String,
  size: {
    type: [
      String,
      Number,
    ],
    default: 32,
  },
});
</script>

<script>
import DanHuangPai from '@/icon-components/dan-huang-pai.vue';
import Phone from '@/icon-components/phone.vue';
import ShoppingCart from '@/icon-components/shopping-cart.vue';

export default {
  components: {
    DanHuangPai,
    Phone,
    ShoppingCart,

  },
};
</script>

<template>
  <component
    :is="name"
    :size="size"
  />
</template>
